package reflectx

import "reflect"

//go:force inline
func IndirectType(tp reflect.Type) reflect.Type {
	if tp.Kind() != reflect.Ptr {
		return tp
	}
	return IndirectType(tp.Elem())
}
